$(".form-box").load("addPackage/authenticationInfo.html");
// $(".form-box").load("addPackage/financialInfo.html");
// $(".form-box").load("addPackage/cooperationInfo.html");
// $(".form-box").load("addPackage/contractInfo.html");
if(getQueryString("providerId")){
    var thisProviderId = getQueryString("providerId");
}else {
    var thisProviderId = "";
}
console.log(thisProviderId)
function lastOrNextStep(toPage,fromPage) {
    switch (toPage) {
        case 'authenticationInfo':
            if(fromPage=="financialInfo"){
                saveFinancialInfo("returnAuthenticationInfo()");
            }
            break;
        case 'financialInfo':
            if(fromPage=="authenticationInfo"){
                saveAuthenticationInfo("returnFinancialInfo()");
            }else if(fromPage=="cooperationInfo") {
                saveCooperationInfo("returnFinancialInfo()");
            }
            break;
        case 'cooperationInfo':
            if(fromPage=="financialInfo"){
                saveFinancialInfo("returnCooperationInfo()");
            }else if(fromPage=="contractInfo") {
                saveContratFn("returnCooperationInfo()");
            }
            break;
        case 'contractInfo':
            if(fromPage=="cooperationInfo"){
                saveCooperationInfo("returnContractInfo()");
            }
            break;
        default:
            break;
    }
}
function returnAuthenticationInfo() {
    $(".authentication-item").addClass("flow-blue-circle");
    $(".financial-item").removeClass("flow-blue-circle");
    $(".form-box").load("addPackage/authenticationInfo.html");
}
function returnFinancialInfo() {
    $(".financial-item").addClass("flow-blue-circle");
    $(".cooperation-item").removeClass("flow-blue-circle");
    $(".form-box").load("addPackage/financialInfo.html");
}
function returnCooperationInfo() {
    $(".cooperation-item").addClass("flow-blue-circle");
    $(".contract-item").removeClass("flow-blue-circle");
    $(".form-box").load("addPackage/cooperationInfo.html");
}
function returnContractInfo() {
    $(".contract-item").addClass("flow-blue-circle");
    $(".form-box").load("addPackage/contractInfo.html");
}